Repository navigation
Stop packaging the unused Apple LiteRT companion libraries from v0.19 - #119
Merged
Merged
Conversation
v0.19 LiteRtLm embeds LiteRT and its GPU accelerator; dyld traces show the macOS libLiteRt and libLiteRtWebGpuAccelerator and the iOS loose libLiteRt are never opened (llamadart#1911). Packaging skips them, the release manifest drops their XCFramework zips, and a candidate that still ships them is rejected.
12 of 14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the owner side of leehack/llamadart#1911.
v0.19
LiteRtLmembeds LiteRT and its GPU accelerator. dyld traces of the baseline show the macOSlibLiteRt.dylibandlibLiteRtWebGpuAccelerator.dylibloaded only as companions; with them deleted, every path passes (macOS text CPU/GPU, JSON Schema, Gemma 4 vision/audio/MTP, EmbeddingGemma 2, Moonshine ASR, iOS simulator C probe).v0.19.1-3skips macOSlibLiteRtandlibLiteRtWebGpuAcceleratorand the iOS looselibLiteRt(has_prebuilt_apple_litert_companions, boundary v0.19 like the Metal change in Stop packaging the unused Apple Metal accelerator from v0.19 #118).LiteRtandLiteRtWebGpuAcceleratorXCFramework zips leave the allowed SPM inventory from v0.19; the candidate validator rejects the four paths.libLiteRtLm.dylib,WebgpuDawntarget, the static-linkage and Mach-O dependency guards.test_package_upstream_prebuilts.py(kept at v0.18.1 and on Linux/Windows/Android),test_v019_decisions.py; each removed name mutation-checked.